﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
  assembly="JSC.Portal.Web.App" namespace="JSC.Portal.Web.App.Modules.Articles.Entities">

	<class name="ArticleCategory" table="jscm_articlecategory" lazy="false">

		<!-- start Base on every entity -->
		<id name="Id" column="articlecategoryid" unsaved-value="-1">
			<generator class="native">
				<param name="sequence">jscm_articlecategory_articlecategoryid_seq</param>
			</generator>
		</id>

		<property name="Name" column="name" not-null="true"/>
		<property name="Description" column="description"/>
		<!-- end Base on every entity -->

		<property name="Syndicate" column="syndicate"/>
	</class>
</hibernate-mapping>